package com.sdry.project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenBin
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("project_expert")
public class ProjectExpertEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目-专家表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目
     */
    private Long projectId;

    /**
     * 专家
     */
    private Long userId;
    @TableField(exist = false)
    private String realName;
    /**
     * 评定等级
     */
    private Integer level;

    /**2021年新增 评定意见**/
    private String evaluationOpinion;

    /**2021年新增 打分**/
    private String scoring;

    /**
     * 创建时间
     */
    private String createDate;

    /**
     * 创建人员
     */
    private String createBy;

    /**
     * 禁用
     */
    private String delFlag;

    /**
     * 修改人员
     */
    private Timestamp updateDate;

    /**
     * 修改时间
     */
    private String updateBy;

    /*** 页码 */
    @ApiModelProperty(value = "页码")
    @TableField(exist = false)
    private Integer page;

    /*** 每页大小*/
    @ApiModelProperty(value = "每页大小")
    @TableField(exist = false)
    private Integer limit;

    /**图表统计使用---获奖票数*/
    @TableField(exist = false)
    private Integer toatol;

    /**图表统计使用----奖项类型*/
    @TableField(exist = false)
    private String type;

    /**项目实体*/
    @TableField(exist = false)
    private ProjectEntity project;

    /**
     * 是否提交
     */
    private String state;


    @TableField(exist = false)
    private String  idea;
}
